﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using Kooboo.Commerce.AddIn;

namespace Kooboo.Commerce.Promotions.Cashback
{
    public class PromotionViews : Controller, IPromotionViews
    {
        #region IPromotionViews Members

        public System.Web.Mvc.RedirectToRouteResult Index()
        {
            return null;
        }

        public System.Web.Mvc.RedirectToRouteResult Settings(IPromotionRule rule)
        {
            return this.RedirectToAction("Index", "Cashback", new { Id = rule.Id });
        }

        #endregion
    }
}